package com.gupao.prototype.simple;

import java.util.ArrayList;

public class Prototype implements Cloneable {

    public ArrayList<String> list = new ArrayList<>();
    @Override
    protected Object clone() throws CloneNotSupportedException {
        Prototype prototype = null;
        prototype = (Prototype)super.clone();
        prototype.list = (ArrayList)list.clone();
        return prototype;
    }
}
